<?php
        $xcrud = Xcrud::get_instance();
        $xcrud->table('post_image');
	    $xcrud->relation('cat_id','category','id','name');
		$xcrud->relation('album_id','album','id','name');
		 $xcrud->theme('bootstrap');
		 $xcrud->table_name('PINER Image Manage System');
		  $xcrud->before_remove('', 'xcrud_remove_post_image', 'functions.php');
		$xcrud->show_primary_ai_column(true);
		 echo $xcrud->render();


?>
